import os
os.environ['KIVY_DPI'] = '227'
import kivy
kivy.require('1.8.0')

from kivy.app import App
from kivy.uix.tabbedpanel import TabbedPanel
from kivy.uix.boxlayout import BoxLayout
from kivy.lang import Builder
from kivy.uix.screenmanager import ScreenManager, Screen, FadeTransition

Builder.load_file("test.kv")
print(kivy.metrics.dpi)

class SplashScreen(Screen):
    pass

class MainScreen(Screen):
    pass

sm = ScreenManager(transition=FadeTransition())
sm.add_widget(SplashScreen(name='splash'))
sm.add_widget(MainScreen(name='main'))
sm.current = 'splash'

class TabbedPanelApp(App):
    def build(self):
        return sm

if __name__ == '__main__':
    TabbedPanelApp().run()